package conson.tech.manage.activity.service;

import conson.tech.manage.activity.entity.dto.BathBeachTicketDTO;
import conson.tech.manage.activity.entity.pojo.TicketInfoRecord;

import java.util.List;

/**
 * InterfaceName: TicketRecordService
 * Description:
 * Author: HXL
 * Date: 2020/5/22 2:03 下午
 * Version: 1.0
 */
public interface TicketRecordService {
    List<TicketInfoRecord> queryTicketInfoRecord(TicketInfoRecord record);

    int receiveTicketInfo(Long userId,String mobile,List<TicketInfoRecord> list);

    int updateTicketRecord(String busTicketId, String status);

    int activationTicketInfo(BathBeachTicketDTO dto);

    int checkActivationTicket(String mobile);

    TicketInfoRecord checkTermOfValidity(TicketInfoRecord record);

    TicketInfoRecord queryTicketInfoRecordByBusTicketId(String busTicketId);

    TicketInfoRecord queryTicketInfoRecordById(Long id);

    List<TicketInfoRecord> queryTicketInfoRecordListById(List<Long> ticketRecordList);


    int updateTimeOutTicketRecordList(List<Long> idList);

    List<Long> queryTimeOutTicket();
}
